using System;
using System.Collections.Generic;
using System.Text;
using WozLib.UI.Ink.SketchObjects;


namespace WozLib.UI.Ink.SketchProperties
{
  public class BooleanCascadingProperty : CascadingProperty
  {

    public BooleanSketchProperty BooleanWozProperty
    {
      get { return WozProperty as BooleanSketchProperty; }
      set { WozProperty = value; }
    }


    public BooleanCascadingProperty(List<ISketchObject> iWozObjects, BooleanSketchProperty booleanWozProperty)
      : base(iWozObjects, booleanWozProperty)
    {
      if (WozPropertyVariants.Count > 1)
      {
        this.BooleanWozProperty.Data = false;
      }
    }
  }
}
